Skip to content

provider: enable store loader in fips mode - #180

Draft
moritzbuhl wants to merge 1 commit into
tpm2-software:masterfrom
moritzbuhl:mbuhl-178
Draft

moritzbuhl wants to merge 1 commit into
tpm2-software:masterfrom
moritzbuhl:mbuhl-178

Conversation

@moritzbuhl

Copy link
Copy Markdown
Member

If the TPM sets the FIPS_140_X bits in the TPM_PT_MODES, export the stores with fips=yes.

Addresses #178

If the TPM sets the FIPS_140_X bits in the TPM_PT_MODES, export the stores
with fips=yes.

Signed-off-by: Moritz Buhl <moritz.buhl@infineon.com>
@moritzbuhl

Copy link
Copy Markdown
Member Author

Maybe it would make more sense to add an uint32_t tpm2_get_property(const TPMS_CAPABILITY_DATA *caps, TPM2_PT prop, uint32_t default) to src/tpm2-provider-core.c and base tpm2_max_nvindex_buffer and the new tpm2_is_fips_mode on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant